3.1091 \(\int \frac {\cos ^2(e+f x)}{\sqrt {d \sin (e+f x)} (a+b \sin (e+f x))^{5/2}} \, dx\)

Optimal. Leaf size=347 \[ -\frac {4 b \tan (e+f x) \sqrt {\frac {a (1-\csc (e+f x))}{a+b}} \sqrt {\frac {a (\csc (e+f x)+1)}{a-b}} E\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {d \sin (e+f x)}}\right )|-\frac {a+b}{a-b}\right )}{3 a^3 \sqrt {d} f \sqrt {a+b}}+\frac {4 b \cos (e+f x)}{3 a f \left (a^2-b^2\right ) \sqrt {d \sin (e+f x)} \sqrt {a+b \sin (e+f x)}}-\frac {4 \tan (e+f x) \sqrt {\frac {a (1-\csc (e+f x))}{a+b}} \sqrt {\frac {a (\csc (e+f x)+1)}{a-b}} F\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {d \sin (e+f x)}}\right )|-\frac {a+b}{a-b}\right )}{3 a^2 \sqrt {d} f \sqrt {a+b}}+\frac {2 \cos (e+f x) \sqrt {d \sin (e+f x)}}{3 a d f (a+b \sin (e+f x))^{3/2}} \]

[Out]

2/3*cos(f*x+e)*(d*sin(f*x+e))^(1/2)/a/d/f/(a+b*sin(f*x+e))^(3/2)+4/3*b*cos(f*x+e)/a/(a^2-b^2)/f/(d*sin(f*x+e))
^(1/2)/(a+b*sin(f*x+e))^(1/2)-4/3*b*EllipticE(d^(1/2)*(a+b*sin(f*x+e))^(1/2)/(a+b)^(1/2)/(d*sin(f*x+e))^(1/2),
((-a-b)/(a-b))^(1/2))*(a*(1-csc(f*x+e))/(a+b))^(1/2)*(a*(1+csc(f*x+e))/(a-b))^(1/2)*tan(f*x+e)/a^3/f/(a+b)^(1/
2)/d^(1/2)-4/3*EllipticF(d^(1/2)*(a+b*sin(f*x+e))^(1/2)/(a+b)^(1/2)/(d*sin(f*x+e))^(1/2),((-a-b)/(a-b))^(1/2))
*(a*(1-csc(f*x+e))/(a+b))^(1/2)*(a*(1+csc(f*x+e))/(a-b))^(1/2)*tan(f*x+e)/a^2/f/(a+b)^(1/2)/d^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.77, antiderivative size = 347, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2887, 2800, 2998, 2816, 2994} \[ \frac {4 b \cos (e+f x)}{3 a f \left (a^2-b^2\right ) \sqrt {d \sin (e+f x)} \sqrt {a+b \sin (e+f x)}}-\frac {4 \tan (e+f x) \sqrt {\frac {a (1-\csc (e+f x))}{a+b}} \sqrt {\frac {a (\csc (e+f x)+1)}{a-b}} F\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {d \sin (e+f x)}}\right )|-\frac {a+b}{a-b}\right )}{3 a^2 \sqrt {d} f \sqrt {a+b}}-\frac {4 b \tan (e+f x) \sqrt {\frac {a (1-\csc (e+f x))}{a+b}} \sqrt {\frac {a (\csc (e+f x)+1)}{a-b}} E\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {d \sin (e+f x)}}\right )|-\frac {a+b}{a-b}\right )}{3 a^3 \sqrt {d} f \sqrt {a+b}}+\frac {2 \cos (e+f x) \sqrt {d \sin (e+f x)}}{3 a d f (a+b \sin (e+f x))^{3/2}} \]

Antiderivative was successfully verified.

[In]

Int[Cos[e + f*x]^2/(Sqrt[d*Sin[e + f*x]]*(a + b*Sin[e + f*x])^(5/2)),x]

[Out]

(2*Cos[e + f*x]*Sqrt[d*Sin[e + f*x]])/(3*a*d*f*(a + b*Sin[e + f*x])^(3/2)) + (4*b*Cos[e + f*x])/(3*a*(a^2 - b^
2)*f*Sqrt[d*Sin[e + f*x]]*Sqrt[a + b*Sin[e + f*x]]) - (4*b*Sqrt[(a*(1 - Csc[e + f*x]))/(a + b)]*Sqrt[(a*(1 + C
sc[e + f*x]))/(a - b)]*EllipticE[ArcSin[(Sqrt[d]*Sqrt[a + b*Sin[e + f*x]])/(Sqrt[a + b]*Sqrt[d*Sin[e + f*x]])]
, -((a + b)/(a - b))]*Tan[e + f*x])/(3*a^3*Sqrt[a + b]*Sqrt[d]*f) - (4*Sqrt[(a*(1 - Csc[e + f*x]))/(a + b)]*Sq
rt[(a*(1 + Csc[e + f*x]))/(a - b)]*EllipticF[ArcSin[(Sqrt[d]*Sqrt[a + b*Sin[e + f*x]])/(Sqrt[a + b]*Sqrt[d*Sin
[e + f*x]])], -((a + b)/(a - b))]*Tan[e + f*x])/(3*a^2*Sqrt[a + b]*Sqrt[d]*f)

Rule 2800

Int[1/(Sqrt[(d_.)*sin[(e_.) + (f_.)*(x_)]]*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(3/2)), x_Symbol] :> Simp[(2
*b*Cos[e + f*x])/(f*(a^2 - b^2)*Sqrt[a + b*Sin[e + f*x]]*Sqrt[d*Sin[e + f*x]]), x] + Dist[d/(a^2 - b^2), Int[(
b + a*Sin[e + f*x])/(Sqrt[a + b*Sin[e + f*x]]*(d*Sin[e + f*x])^(3/2)), x], x] /; FreeQ[{a, b, d, e, f}, x] &&
NeQ[a^2 - b^2, 0]

Rule 2816

Int[1/(Sqrt[(d_.)*sin[(e_.) + (f_.)*(x_)]]*Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Simp[(-2*
Tan[e + f*x]*Rt[(a + b)/d, 2]*Sqrt[(a*(1 - Csc[e + f*x]))/(a + b)]*Sqrt[(a*(1 + Csc[e + f*x]))/(a - b)]*Ellipt
icF[ArcSin[Sqrt[a + b*Sin[e + f*x]]/(Sqrt[d*Sin[e + f*x]]*Rt[(a + b)/d, 2])], -((a + b)/(a - b))])/(a*f), x] /
; FreeQ[{a, b, d, e, f}, x] && NeQ[a^2 - b^2, 0] && PosQ[(a + b)/d]

Rule 2887

Int[((cos[(e_.) + (f_.)*(x_)]*(g_.))^(p_)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_))/Sqrt[(d_.)*sin[(e_.) +
(f_.)*(x_)]], x_Symbol] :> -Simp[(g*(g*Cos[e + f*x])^(p - 1)*Sqrt[d*Sin[e + f*x]]*(a + b*Sin[e + f*x])^(m + 1)
)/(a*d*f*(m + 1)), x] + Dist[(g^2*(2*m + 3))/(2*a*(m + 1)), Int[((g*Cos[e + f*x])^(p - 2)*(a + b*Sin[e + f*x])
^(m + 1))/Sqrt[d*Sin[e + f*x]], x], x] /; FreeQ[{a, b, d, e, f, g}, x] && NeQ[a^2 - b^2, 0] && LtQ[m, -1] && E
qQ[m + p + 1/2, 0]

Rule 2994

Int[((A_) + (B_.)*sin[(e_.) + (f_.)*(x_)])/(((b_.)*sin[(e_.) + (f_.)*(x_)])^(3/2)*Sqrt[(c_) + (d_.)*sin[(e_.)
+ (f_.)*(x_)]]), x_Symbol] :> Simp[(-2*A*(c - d)*Tan[e + f*x]*Rt[(c + d)/b, 2]*Sqrt[(c*(1 + Csc[e + f*x]))/(c
- d)]*Sqrt[(c*(1 - Csc[e + f*x]))/(c + d)]*EllipticE[ArcSin[Sqrt[c + d*Sin[e + f*x]]/(Sqrt[b*Sin[e + f*x]]*Rt[
(c + d)/b, 2])], -((c + d)/(c - d))])/(f*b*c^2), x] /; FreeQ[{b, c, d, e, f, A, B}, x] && NeQ[c^2 - d^2, 0] &&
 EqQ[A, B] && PosQ[(c + d)/b]

Rule 2998

Int[((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])/(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(3/2)*Sqrt[(c_) + (d_.)*s
in[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Dist[(A - B)/(a - b), Int[1/(Sqrt[a + b*Sin[e + f*x]]*Sqrt[c + d*Sin[e
+ f*x]]), x], x] - Dist[(A*b - a*B)/(a - b), Int[(1 + Sin[e + f*x])/((a + b*Sin[e + f*x])^(3/2)*Sqrt[c + d*Sin
[e + f*x]]), x], x] /; FreeQ[{a, b, c, d, e, f, A, B}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2
 - d^2, 0] && NeQ[A, B]

Rubi steps

\begin {align*} \int \frac {\cos ^2(e+f x)}{\sqrt {d \sin (e+f x)} (a+b \sin (e+f x))^{5/2}} \, dx &=\frac {2 \cos (e+f x) \sqrt {d \sin (e+f x)}}{3 a d f (a+b \sin (e+f x))^{3/2}}+\frac {2 \int \frac {1}{\sqrt {d \sin (e+f x)} (a+b \sin (e+f x))^{3/2}} \, dx}{3 a}\\ &=\frac {2 \cos (e+f x) \sqrt {d \sin (e+f x)}}{3 a d f (a+b \sin (e+f x))^{3/2}}+\frac {4 b \cos (e+f x)}{3 a \left (a^2-b^2\right ) f \sqrt {d \sin (e+f x)} \sqrt {a+b \sin (e+f x)}}+\frac {(2 d) \int \frac {b+a \sin (e+f x)}{(d \sin (e+f x))^{3/2} \sqrt {a+b \sin (e+f x)}} \, dx}{3 a \left (a^2-b^2\right )}\\ &=\frac {2 \cos (e+f x) \sqrt {d \sin (e+f x)}}{3 a d f (a+b \sin (e+f x))^{3/2}}+\frac {4 b \cos (e+f x)}{3 a \left (a^2-b^2\right ) f \sqrt {d \sin (e+f x)} \sqrt {a+b \sin (e+f x)}}+\frac {2 \int \frac {1}{\sqrt {d \sin (e+f x)} \sqrt {a+b \sin (e+f x)}} \, dx}{3 a (a+b)}+\frac {(2 b d) \int \frac {1+\sin (e+f x)}{(d \sin (e+f x))^{3/2} \sqrt {a+b \sin (e+f x)}} \, dx}{3 a \left (a^2-b^2\right )}\\ &=\frac {2 \cos (e+f x) \sqrt {d \sin (e+f x)}}{3 a d f (a+b \sin (e+f x))^{3/2}}+\frac {4 b \cos (e+f x)}{3 a \left (a^2-b^2\right ) f \sqrt {d \sin (e+f x)} \sqrt {a+b \sin (e+f x)}}-\frac {4 b \sqrt {\frac {a (1-\csc (e+f x))}{a+b}} \sqrt {\frac {a (1+\csc (e+f x))}{a-b}} E\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {d \sin (e+f x)}}\right )|-\frac {a+b}{a-b}\right ) \tan (e+f x)}{3 a^3 \sqrt {a+b} \sqrt {d} f}-\frac {4 \sqrt {\frac {a (1-\csc (e+f x))}{a+b}} \sqrt {\frac {a (1+\csc (e+f x))}{a-b}} F\left (\sin ^{-1}\left (\frac {\sqrt {d} \sqrt {a+b \sin (e+f x)}}{\sqrt {a+b} \sqrt {d \sin (e+f x)}}\right )|-\frac {a+b}{a-b}\right ) \tan (e+f x)}{3 a^2 \sqrt {a+b} \sqrt {d} f}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B]  time = 23.01, size = 3348, normalized size = 9.65 \[ \text {Result too large to show} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[Cos[e + f*x]^2/(Sqrt[d*Sin[e + f*x]]*(a + b*Sin[e + f*x])^(5/2)),x]

[Out]

(Sin[e + f*x]*Sqrt[a + b*Sin[e + f*x]]*((2*Cos[e + f*x])/(3*a*(a + b*Sin[e + f*x])^2) - (4*b^2*Cos[e + f*x])/(
3*a^2*(a^2 - b^2)*(a + b*Sin[e + f*x]))))/(f*Sqrt[d*Sin[e + f*x]]) + (4*Sqrt[a + b*Sin[e + f*x]]*((2*Sqrt[a +
b*Sin[e + f*x]])/(3*a*(a^2 - b^2)*Sqrt[Sin[e + f*x]]) - (4*b*Sqrt[Sin[e + f*x]]*Sqrt[a + b*Sin[e + f*x]])/(3*a
^2*(a^2 - b^2)))*(-2*b*Sin[(e + f*x)/2]^2 - (2*a*(-(b*EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e
+ f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Tan[(e + f*x)/2]) + a*Ell
ipticF[ArcSin[Sqrt[(b + Sqrt[-a^2 + b^2] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2]
)/(b + Sqrt[-a^2 + b^2])]*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])/(b +
Sqrt[-a^2 + b^2]))]))/(Sqrt[-a^2 + b^2]*Sqrt[(a*Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2)]*Sqrt[(a*
Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])])))/(3*a^2*(a^2 - b^2)*f*Sqrt[d*Sin[e + f*x]]*((2*b*Cos[e + f*x]*(-2
*b*Sin[(e + f*x)/2]^2 - (2*a*(-(b*EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/Sqrt[-a^2
 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Tan[(e + f*x)/2]) + a*EllipticF[ArcSin[Sqrt[(
b + Sqrt[-a^2 + b^2] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^2 + b
^2])]*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))])
)/(Sqrt[-a^2 + b^2]*Sqrt[(a*Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2)]*Sqrt[(a*Tan[(e + f*x)/2])/(-
b + Sqrt[-a^2 + b^2])])))/(3*a^2*(a^2 - b^2)*Sqrt[Sin[e + f*x]]*Sqrt[a + b*Sin[e + f*x]]) - (2*Cos[e + f*x]*Sq
rt[a + b*Sin[e + f*x]]*(-2*b*Sin[(e + f*x)/2]^2 - (2*a*(-(b*EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*T
an[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Tan[(e + f*x)/2]) +
 a*EllipticF[ArcSin[Sqrt[(b + Sqrt[-a^2 + b^2] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2
+ b^2])/(b + Sqrt[-a^2 + b^2])]*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])
/(b + Sqrt[-a^2 + b^2]))]))/(Sqrt[-a^2 + b^2]*Sqrt[(a*Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2)]*Sq
rt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])])))/(3*a^2*(a^2 - b^2)*Sin[e + f*x]^(3/2)) + (4*Sqrt[a + b*Sin
[e + f*x]]*(-2*b*Cos[(e + f*x)/2]*Sin[(e + f*x)/2] + (a^2*Sec[(e + f*x)/2]^2*(-(b*EllipticE[ArcSin[Sqrt[(-b +
Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2]
)]*Tan[(e + f*x)/2]) + a*EllipticF[ArcSin[Sqrt[(b + Sqrt[-a^2 + b^2] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/S
qrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^2 + b^2])]*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])]*Sqrt[
-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))]))/(2*Sqrt[-a^2 + b^2]*(-b + Sqrt[-a^2 + b^2])*Sqrt[(a*Sec[(e +
 f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2)]*((a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2]))^(3/2)) + (a*((a*b
*Cos[e + f*x]*Sec[(e + f*x)/2]^2)/(a^2 - b^2) + (a*Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x])*Tan[(e + f*x)/2])/(
a^2 - b^2))*(-(b*EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]]
, (2*Sqrt[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Tan[(e + f*x)/2]) + a*EllipticF[ArcSin[Sqrt[(b + Sqrt[-a^2 + b
^2] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^2 + b^2])]*Sqrt[(a*Tan
[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))]))/(Sqrt[-a^2 + b^
2]*((a*Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2))^(3/2)*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 +
 b^2])]) - (2*a*(-1/2*(b*EllipticE[ArcSin[Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/
Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(-b + Sqrt[-a^2 + b^2])]*Sec[(e + f*x)/2]^2) - (a^2*EllipticF[ArcSin[Sqrt[(b +
Sqrt[-a^2 + b^2] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^2 + b^2])
]*Sec[(e + f*x)/2]^2*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])])/(4*(b + Sqrt[-a^2 + b^2])*Sqrt[-((a*T
an[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))]) + (a^2*EllipticF[ArcSin[Sqrt[(b + Sqrt[-a^2 + b^2] + a*Tan[(e + f*x
)/2])/Sqrt[-a^2 + b^2]]/Sqrt[2]], (2*Sqrt[-a^2 + b^2])/(b + Sqrt[-a^2 + b^2])]*Sec[(e + f*x)/2]^2*Sqrt[-((a*Ta
n[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))])/(4*(-b + Sqrt[-a^2 + b^2])*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2
 + b^2])]) + (a*b*Sec[(e + f*x)/2]^2*Tan[(e + f*x)/2]*Sqrt[1 - (-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/(-
b + Sqrt[-a^2 + b^2])])/(4*Sqrt[2]*Sqrt[-a^2 + b^2]*Sqrt[(-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/Sqrt[-a^
2 + b^2]]*Sqrt[1 - (-b + Sqrt[-a^2 + b^2] - a*Tan[(e + f*x)/2])/(2*Sqrt[-a^2 + b^2])]) + (a^2*Sec[(e + f*x)/2]
^2*Sqrt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])]*Sqrt[-((a*Tan[(e + f*x)/2])/(b + Sqrt[-a^2 + b^2]))])/(4
*Sqrt[2]*Sqrt[-a^2 + b^2]*Sqrt[(b + Sqrt[-a^2 + b^2] + a*Tan[(e + f*x)/2])/Sqrt[-a^2 + b^2]]*Sqrt[1 - (b + Sqr
t[-a^2 + b^2] + a*Tan[(e + f*x)/2])/(2*Sqrt[-a^2 + b^2])]*Sqrt[1 - (b + Sqrt[-a^2 + b^2] + a*Tan[(e + f*x)/2])
/(b + Sqrt[-a^2 + b^2])])))/(Sqrt[-a^2 + b^2]*Sqrt[(a*Sec[(e + f*x)/2]^2*(a + b*Sin[e + f*x]))/(a^2 - b^2)]*Sq
rt[(a*Tan[(e + f*x)/2])/(-b + Sqrt[-a^2 + b^2])])))/(3*a^2*(a^2 - b^2)*Sqrt[Sin[e + f*x]])))

________________________________________________________________________________________

fricas [F]  time = 0.64, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sqrt {b \sin \left (f x + e\right ) + a} \sqrt {d \sin \left (f x + e\right )} \cos \left (f x + e\right )^{2}}{b^{3} d \cos \left (f x + e\right )^{4} - {\left (3 \, a^{2} b + 2 \, b^{3}\right )} d \cos \left (f x + e\right )^{2} + {\left (3 \, a^{2} b + b^{3}\right )} d - {\left (3 \, a b^{2} d \cos \left (f x + e\right )^{2} - {\left (a^{3} + 3 \, a b^{2}\right )} d\right )} \sin \left (f x + e\right )}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(f*x+e)^2/(a+b*sin(f*x+e))^(5/2)/(d*sin(f*x+e))^(1/2),x, algorithm="fricas")

[Out]

integral(sqrt(b*sin(f*x + e) + a)*sqrt(d*sin(f*x + e))*cos(f*x + e)^2/(b^3*d*cos(f*x + e)^4 - (3*a^2*b + 2*b^3
)*d*cos(f*x + e)^2 + (3*a^2*b + b^3)*d - (3*a*b^2*d*cos(f*x + e)^2 - (a^3 + 3*a*b^2)*d)*sin(f*x + e)), x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (f x + e\right )^{2}}{{\left (b \sin \left (f x + e\right ) + a\right )}^{\frac {5}{2}} \sqrt {d \sin \left (f x + e\right )}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(f*x+e)^2/(a+b*sin(f*x+e))^(5/2)/(d*sin(f*x+e))^(1/2),x, algorithm="giac")

[Out]

integrate(cos(f*x + e)^2/((b*sin(f*x + e) + a)^(5/2)*sqrt(d*sin(f*x + e))), x)

________________________________________________________________________________________

maple [B]  time = 0.66, size = 4675, normalized size = 13.47 \[ \text {output too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(f*x+e)^2/(a+b*sin(f*x+e))^(5/2)/(d*sin(f*x+e))^(1/2),x)

[Out]

-1/3/f*(-4*cos(f*x+e)*sin(f*x+e)*(-(-(-a^2+b^2)^(1/2)*sin(f*x+e)-b*sin(f*x+e)+cos(f*x+e)*a-a)/(b+(-a^2+b^2)^(1
/2))/sin(f*x+e))^(1/2)*(((-a^2+b^2)^(1/2)*sin(f*x+e)-b*sin(f*x+e)+cos(f*x+e)*a-a)/(-a^2+b^2)^(1/2)/sin(f*x+e))
^(1/2)*(a*(-1+cos(f*x+e))/(b+(-a^2+b^2)^(1/2))/sin(f*x+e))^(1/2)*EllipticE((-(-(-a^2+b^2)^(1/2)*sin(f*x+e)-b*s
in(f*x+e)+cos(f*x+e)*a-a)/(b+(-a^2+b^2)^(1/2))/sin(f*x+e))^(1/2),1/2*2^(1/2)*((b+(-a^2+b^2)^(1/2))/(-a^2+b^2)^
(1/2))^(1/2))*(-a^2+b^2)^(1/2)*b^3+4*cos(f*x+e)*sin(f*x+e)*(-(-(-a^2+b^2)^(1/2)*sin(f*x+e)-b*sin(f*x+e)+cos(f*
x+e)*a-a)/(b+(-a^2+b^2)^(1/2))/sin(f*x+e))^(1/2)*(((-a^2+b^2)^(1/2)*sin(f*x+e)-b*sin(f*x+e)+cos(f*x+e)*a-a)/(-
a^2+b^2)^(1/2)/sin(f*x+e))^(1/2)*(a*(-1+cos(f*x+e))/(b+(-a^2+b^2)^(1/2))/sin(f*x+e))^(1/2)*EllipticE((-(-(-a^2
+b^2)^(1/2)*sin(f*x+e)-b*sin(f*x+e)+cos(f*x+e)*a-a)/(b+(-a^2+b^2)^(1/2))/sin(f*x+e))^(1/2),1/2*2^(1/2)*((b+(-a
^2+b^2)^(1/2))/(-a^2+b^2)^(1/2))^(1/2))*a^2*b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*(((-a^2+b^2)^(1/2)*sin(f*x+e)-b*sin(f*x+e)+cos(f*x+e)*a-a)/(-a^2+b^2)^(1/2)/sin(f*x+
e))^(1/2)*(a*(-1+cos(f*x+e))/(b+(-a^2+b^2)^(1/2))/sin(f*x+e))^(1/2)*EllipticE((-(-(-a^2+b^2)^(1/2)*sin(f*x+e)-
b*sin(f*x+e)+cos(f*x+e)*a-a)/(b+(-a^2+b^2)^(1/2))/sin(f*x+e))^(1/2),1/2*2^(1/2)*((b+(-a^2+b^2)^(1/2))/(-a^2+b^
2)^(1/2))^(1/2))*a*b^3+2*(-(-(-a^2+b^2)^(1/2)*sin(f*x+e)-b*sin(f*x+e)+cos(f*x+e)*a-a)/(b+(-a^2+b^2)^(1/2))/sin
(f*x+e))^(1/2)*(((-a^2+b^2)^(1/2)*sin(f*x+e)-b*sin(f*x+e)+cos(f*x+e)*a-a)/(-a^2+b^2)^(1/2)/sin(f*x+e))^(1/2)*(
a*(-1+cos(f*x+e))/(b+(-a^2+b^2)^(1/2))/sin(f*x+e))^(1/2)*EllipticF((-(-(-a^2+b^2)^(1/2)*sin(f*x+e)-b*sin(f*x+e
)+cos(f*x+e)*a-a)/(b+(-a^2+b^2)^(1/2))/sin(f*x+e))^(1/2),1/2*2^(1/2)*((b+(-a^2+b^2)^(1/2))/(-a^2+b^2)^(1/2))^(
1/2))*(-a^2+b^2)^(1/2)*a^3+2*cos(f*x+e)^2*2^(1/2)*a*b^3+cos(f*x+e)*sin(f*x+e)*2^(1/2)*a^4+cos(f*x+e)*sin(f*x+e
)*2^(1/2)*a^2*b^2+2*cos(f*x+e)*2^(1/2)*a^3*b-4*sin(f*x+e)*2^(1/2)*a^2*b^2-2*2^(1/2)*a^3*b-2*2^(1/2)*a*b^3)*(a+
b*sin(f*x+e))^(1/2)/(b^2*cos(f*x+e)^2-2*a*b*sin(f*x+e)-a^2-b^2)/(d*sin(f*x+e))^(1/2)*2^(1/2)/(a^2-b^2)/a^3

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\cos \left (f x + e\right )^{2}}{{\left (b \sin \left (f x + e\right ) + a\right )}^{\frac {5}{2}} \sqrt {d \sin \left (f x + e\right )}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(f*x+e)^2/(a+b*sin(f*x+e))^(5/2)/(d*sin(f*x+e))^(1/2),x, algorithm="maxima")

[Out]

integrate(cos(f*x + e)^2/((b*sin(f*x + e) + a)^(5/2)*sqrt(d*sin(f*x + e))), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {{\cos \left (e+f\,x\right )}^2}{\sqrt {d\,\sin \left (e+f\,x\right )}\,{\left (a+b\,\sin \left (e+f\,x\right )\right )}^{5/2}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(e + f*x)^2/((d*sin(e + f*x))^(1/2)*(a + b*sin(e + f*x))^(5/2)),x)

[Out]

int(cos(e + f*x)^2/((d*sin(e + f*x))^(1/2)*(a + b*sin(e + f*x))^(5/2)), x)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(f*x+e)**2/(a+b*sin(f*x+e))**(5/2)/(d*sin(f*x+e))**(1/2),x)

[Out]

Timed out

________________________________________________________________________________________